package iot.core.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import iot.core.data.BaseEntity;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;


@Data
@Schema(name = "功能页面表",description = "")
@TableName(value ="HTPage")
public class HTPage extends BaseEntity {

    @Schema(name = "页面代码",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Code ="";

    @Schema(name = "页面名称",description = "")
    @NotBlank(message = "页面名称不能为空")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Name ="";

    @Schema(name = "备注",description = "")
    private  String  Memo ="";

    @Schema(name = "图标",description = "")
    private  String  ImgUrl ="";

    @Schema(name = "类型",description = "平台、网站、小程序、终端")
    @Size(min =0,max = 10,message = "长度范围0-10")
    private  String  LX ="";

    @Schema(name = "参数1",description = "网站Url")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  P1 ="";

    @Schema(name = "参数2",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  P2 ="";

    @Schema(name = "参数3",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  P3 ="";

    @Schema(name = "参数4",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  P4 ="";

    @Schema(name = "创建日期",description = "")
    private  Date  Crt_DT ;

    @Schema(name = "创建人编号",description = "")
    private  Long  Crt_UId =0L;

    @Schema(name = "机构编号",description = "")
    private  Long  Crt_DId =0L;

    @Schema(name = "修改日期",description = "")
    private  Date  Edt_DT ;

    @Schema(name = "修改人编号",description = "")
    private  Long  Edt_UId =0L;

    @Schema(name = "删除标志",description = "")
    private  boolean Deleted ;

    @Schema(name = "Gid",description = "")
    private  String  GId ="";

}
